//
//  JFBSettlementDS.h
//  ios-supplier
//
//  Created by feynmanyuan on 15/4/16.
//  Copyright (c) 2015年 feynmanyuan. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface JFBSettlementDS : NSObject

@property (nonatomic, assign) NSUInteger ID;

// 开始时间
@property (nonatomic, strong) NSString *start_at;
// 结束时间
@property (nonatomic, strong) NSString *end_at;
//总结算金额
@property (nonatomic, assign) NSInteger allSettlement;
//商品结算总金额
@property (nonatomic, strong) NSDecimalNumber *total_settle_price;
// 调单补贴总金额
@property (nonatomic, strong) NSDecimalNumber *total_transfer_bonus;
// 订单补贴总金额
@property (nonatomic, strong) NSDecimalNumber *total_so_bonus;
// 订单扣款总金额
@property (nonatomic, strong) NSDecimalNumber *total_so_fine;
//商户补贴总金额
@property(nonatomic, strong) NSDecimalNumber *shop_bonus;
//商户扣款总金额
@property(nonatomic, strong) NSDecimalNumber *shop_fine;

- (instancetype)initWithAttributes:(NSDictionary *)attributes;
+ (NSURLSessionDataTask *)loadSettlementList:(void (^)(NSArray *settlementList, NSError *error))block pager:(JFBPager*)pager;
@end
